<?php

	 require(PUBLIC_PATH."header.php"); 
?>

<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
  <h2 class="text-center">视频类别编辑</h2>
	<form action="<?php echo SITE_ROOT;?>/admin.php?c=videotype&m=update" method="post"  class="form-horizontal" enctype="multipart/form-data">
	    <div class="form-group">
            <div class="col-md-10 col-xs-9">
                <input type="hidden" name="tid" value="<?php echo  $data['one']['tid']; ?>">   
            </div>
        </div>
        
		<div class="form-group">
            <label for="videotype" class="col-xs-3 col-md-2 control-label">视频类别名</label>
                <div class="col-md-10 col-xs-9 ">
                        
                        <input type="text" class="form-control" id="videotype" placeholder="videotype" name="videotype"  value= "<?php echo $data['one']['typename']; ?>" >
                </div>
        </div>
        
        <div class="form-group">
            <label for="videotype" class="col-xs-3 col-md-2 control-label">类别</label>
                <div class="col-md-10 col-xs-9 ">
                        <label class="radio-inline">
                          <input type="radio" name="tid" id="tid" value="1" 
		                   > 电影
                        </label>
                        <label class="radio-inline">
                          <input type="radio" name="tid" id="tid" value="2" 
                           > 电视剧
                        </label>
                        <label class="radio-inline">
                          <input type="radio" name="tid" id="tid" value="11" 
                           > 动画片
                        </label>
                </div>
        </div>	
        <div class="form-group">
                <div class="col-md-10 col-xs-9 col-md-offset-2 col-xs-offset-3">
                    <!-- 小设备可偏移 -->
                    <input type="submit" value="修改" class="btn btn-primary btn-lg">
                    <input type="reset" value="取消" class="btn btn-default ">
                </div>
        </div>
<?php require(PUBLIC_PATH."footer.php"); ?>
